package com.plian.system.entity.pf;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Description: TODO
 * @Author: Take-off
 * @Date: 2023/3/10 3:08 PM
 * @Param
 * @return
 * @Version: 1.0
 **/
@Data
@TableName("pf_deputy_different_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DeputyDifferentDetail 对象", description = "企业副职差异化考核得分及分配系数 详情表")
public class DeputyDifferentDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主表Id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long baseId;

    @ApiModelProperty(value = "序号")
    private String indexNum;

    @ApiModelProperty(value = "人员Id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long staffId;

    @ApiModelProperty(value = "人员名称")
    private String staffName;

    @ApiModelProperty(value = "年度")
    private String year;

    @ApiModelProperty(value = "得分")
    private BigDecimal score;

    @ApiModelProperty(value = "年度薪酬分配系数")
    private BigDecimal coefficient;

    @ApiModelProperty(value = "是否合计：0-否，1-是")
    private Integer isSum;



}
